package com.cumulus.ianerp.ian.auth.emp.domain;

import java.util.Date;

/**
 * 员工实体类
 * @author Ian
 * @date 2017-05-13
 *
 */
public class Emp {
	/*
	 * `uuid` bigint(20) NOT NULL AUTO_INCREMENT,
  `userName` varchar(15) NOT NULL,
  `pwd` varchar(32) NOT NULL,
  `name` varchar(28) NOT NULL,
  `email` varchar(255) NOT NULL,
  `tele` varchar(30) NOT NULL,
  `address` varchar(255) NOT NULL,
  `gender` int(1) NOT NULL COMMENT '1-男；0-女',
  `birthday` date NOT NULL,
  `depUuid` bigint(20) NOT NULL,
  `lastLoginTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `lastLoginIp` varchar(255) NOT NULL,
  `loginTimes` int(11) NOT NULL,
	 */
	private Integer uuid;
	private String userName;
	private String pwd;
	private String name;
	private String emain;
	private String tele;
	private String address;
	private Integer gender;
	private Date birthday;
	private Integer depUuid;
	private Date lastLoginTime;
	private String lastLoginIp;
	private Integer loginTimes;
	public Emp() {
		super();
	}
	public Emp(Integer uuid, String userName, String pwd, String name, String emain, String tele, String address,
			Integer gender, Date birthday, Integer depUuid, Date lastLoginTime, String lastLoginIp,
			Integer loginTimes) {
		super();
		this.uuid = uuid;
		this.userName = userName;
		this.pwd = pwd;
		this.name = name;
		this.emain = emain;
		this.tele = tele;
		this.address = address;
		this.gender = gender;
		this.birthday = birthday;
		this.depUuid = depUuid;
		this.lastLoginTime = lastLoginTime;
		this.lastLoginIp = lastLoginIp;
		this.loginTimes = loginTimes;
	}
	public Integer getUuid() {
		return uuid;
	}
	public void setUuid(Integer uuid) {
		this.uuid = uuid;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmain() {
		return emain;
	}
	public void setEmain(String emain) {
		this.emain = emain;
	}
	public String getTele() {
		return tele;
	}
	public void setTele(String tele) {
		this.tele = tele;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Integer getGender() {
		return gender;
	}
	public void setGender(Integer gender) {
		this.gender = gender;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public Integer getDepUuid() {
		return depUuid;
	}
	public void setDepUuid(Integer depUuid) {
		this.depUuid = depUuid;
	}
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public String getLastLoginIp() {
		return lastLoginIp;
	}
	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}
	public Integer getLoginTimes() {
		return loginTimes;
	}
	public void setLoginTimes(Integer loginTimes) {
		this.loginTimes = loginTimes;
	}
	@Override
	public String toString() {
		return "Emp [uuid=" + uuid + ", userName=" + userName + ", pwd=" + pwd + ", name=" + name + ", emain=" + emain
				+ ", tele=" + tele + ", address=" + address + ", gender=" + gender + ", birthday=" + birthday
				+ ", depUuid=" + depUuid + ", lastLoginTime=" + lastLoginTime + ", lastLoginIp=" + lastLoginIp
				+ ", loginTimes=" + loginTimes + "]";
	}
	
}
